<?php
session_start();
require_once '../header.php';
function __autoload($className)
	{
    	require_once('../class/' . $className . '.class.php');
	}
session::need_manage();	

$agent=rtrim(trim($_GET["agent"]));
if($agent=="ltd")
{
	$GetBalance=ltdcc::CheckBalanceLtd();
}
else if($agent=="codesell")
{
	$GetBalance=codesell::balanceCodeSell();
}
else if($agent=="vmarket")
{
	$GetBalance=vmarket::checkBalanceVmarket();
}
else if($agent=="our")
{
	$GetBalance=balancelr::getLRBalance();
}
else if($agent=="mrhieu")
{
	$GetBalance=mrhieu::getBalance();
}
echo $GetBalance;
?>